// constant/Constant.java
package constant;

public class Constant {
    // 内存中的书籍数组初始容量
    public static final int CAPACITY = 5;
    // 存储所有图书的文件
    public static final String ALL_BOOK_FILE_NAME = "allbook.txt";
    // 存储借阅信息的文件
    public static final String BORROWED_BOOK_FILE_NAME = "borrowed_books.txt";

    // 管理员相关操作
    public static final int SEARCH_BOOK = 1;
    public static final int DISPLAY_BOOK = 2;
    public static final int EXIT = 3;
    public static final int ADD_BOOK = 4;
    public static final int UPDATE_BOOK = 5;
    public static final int REMOVE_BOOK = 6;
    public static final int BORROWED_BOOK_COUNT = 7;
    public static final int GENERATE_BOOK = 8;
    public static final int CHECK_INVENTORY_STATUS = 9;
    public static final int CATEGORIZE_BOOK_BY_CATEGORY = 10;
    public static final int CATEGORIZE_BOOK_BY_AUTHOR = 11;
    public static final int CHECK_AND_REMOVE_OLD_BOOK = 12;

    // 普通用户相关操作
    public static final int BORROWED_BOOK = 4;
    public static final int RETURN_BOOK = 5;
    public static final int VIEW_BORROW_HISTORY_BOOK = 6;
}